package com.linjiahao.oss.vo;


import java.io.Serializable;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

public class ResumeEsHmacVO implements Serializable {

    //验证码字段名
    private String hmacId;
    //验证码值
    private String hmac;
    //创建时间
    private Date createTime;
    //修改时间
    private Date updateTime;

    public String getHmacId() {
        return hmacId;
    }

    public void setHmacId(String hmacId) {
        this.hmacId = hmacId;
    }

    public String getHmac() {
        return hmac;
    }

    public void setHmac(String hmac) {
        this.hmac = hmac;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) throws ParseException {
        SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        this.createTime = format.parse(createTime);
    }

    public void setCreateTime(Date createTime){
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) throws ParseException {
        SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        this.updateTime = format.parse(updateTime);
    }

    public void setUpdateTime(Date updateTime){
        this.updateTime = updateTime;
    }
}
